package controller

import "slapp3/backend/application/domain"

type ConnectRepository interface {
	GetConnection(id uint) (domain.Profile, error)
	CreateConnection(conn domain.Profile) error
	UpdateConnection(conn domain.Profile) error
	DeleteConnection(id uint) error
	ListConnections(page, pageSize int) ([]domain.Profile, int64, error)
}

type SslinkRepository interface {
	SetProfile(profile *domain.Profile)
	InitAuth() ([]string, error)
	PasswordAuth() error
	SetupTunnel() error
}
